<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>报警</title>
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        #body {
            height: auto;
            margin-left: 20%;
            margin-right: 20%;
            margin-bottom: 210px;
        }

        #header {
            height: 128px;
            background-color: #1976d2;
        }

        #content {
            height: 475px;
            background-color: #f2f2f2;
        }

        #content div {
            text-align: center;
        }

        #footer {
            height: 64px;
            background-color: #000000;
        }
    </style>
</head>
<body>
<div id="body">
    <div id="header"></div>
    <div id="content">
            <div>
                <h1>警报！监控检查到物体移动！</h1>
            </div>
            <div>
                <img th:src="'http://localhost:8080/monitor/'+*{imgname}">
            </div>
    </div>
    <div id="footer"></div>
</div>
</body>
</html>